package com.yh.csx.crm.service.vo;

import com.yh.b2b.usercenter.facade.stub.vo.UserVO;
import lombok.Data;

/**
 * User class
 *
 * @author huyalin
 * @date 2019/2/22
 */
@Data
public class User {
    private Long userId;
    private String userName;
    private String phone;
    private String workNumber;

    public User() {
    }

    public User(Long userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }

    public User(UserVO vo) {
        this.userId = vo.getId();
        this.userName = vo.getName();
        this.workNumber = vo.getUserNumber();
        this.phone = vo.getTelephone();
    }


}
